package cn.frontop.funswitch.service;

import cn.frontop.funswitch.common.Result;
import cn.frontop.funswitch.entity.StaticDataEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 静态数据
 *
 * @author Yun
 * @email Yun@frontop.cn
 * @date 2022-10-21 11:41:24
 */
public interface StaticDataService extends IService<StaticDataEntity> {

    /**
     * 保存文件到 静态库
     * @param file 文件
     * @param projectId 项目ID
     * @param sheets sheet
     * @return 结果
     */
    Result<String> warehousing(MultipartFile file, Integer projectId, String... sheets);
}

